#ifndef BOX_CREATOR_REGISTRATION_EXCEPTION_H_JM_20120702
#define BOX_CREATOR_REGISTRATION_EXCEPTION_H_JM_20120702
/**
 * @file BoxCreatorRegistrationException.h
 * Vynimka pre chyby v registratore tvorcov modelov boxov.
 **/

// ## C++
#include <stdexcept>

namespace jm4bbx {

/**
 * Vynimka je pouzivana ako reakcia na chybovy stav v registratore 
 * ({@link jm4bbx::BoxCreatorRegistrator}), s ktorym sa nevie registrator 
 * vysporiadat.
 **/
class BoxCreatorRegistrationException : public std::logic_error {
public:
	BoxCreatorRegistrationException(const std::string& msg) 
		: std::logic_error(msg) { }
};

}

#endif